-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an advanced tutorial for plotting focal mechanisms (beachballs) #2550
Conversation
/format |
From the content side I do not have things in mind I want to change at the moment (actually, the tutorial is already a bit longer). If we have additional GMT flags wrapped (e.g., #3526) we may want consider to extend this tutorial. As this a longer tutorial, maybe we can have a second reviewer here 🙂? |
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Michael Grund <[email protected]>
Description of proposed changes
This PR aims to add a tutorial showing how to plot focal mechanisms using
pygmt.Figure.meca
. It focuses on how the display of the beachballs can be adjusted and modified:Plotting the P and T axesRelated PRs (need to be merged before this PR is mergd)
scale
: PR Figure.meca: Expand docstring for the scale parameter #2552compressionfill
,camp
,offset
: PR Figure.meca: Expand docstrings for "compressionfill", "cmap", and "offset" #2553Add aliases for Fa, Fe, Fg, Ft, Fp: PR Figure.meca: Add aliases for "Fa", "Fe", "Fg", "Ft", "Fp" #3526Backup of code for plotting the P and T axes
Preview: https://pygmt-dev--2550.org.readthedocs.build/en/2550/tutorials/advanced/focal_mechanisms.html
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version